package com.easyse.model.DO;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@TableName(value ="practicalTasks_task")
@Data
@Builder
@Accessors
@AllArgsConstructor
@NoArgsConstructor
public class Task {
    private Integer id;

    private Integer groupId;

    private String execution;

    private Integer story;

    private String taskName;

    private Float consumed;

    private Float lefted;

    private Date deadline;

    private String sta;

    private String color;

    private String mailto;

    private String assignedto;

    private Date assigneddate;

    private String finishedby;

    private Date finisheddate;

    private String canceledby;

    private Date canceleddate;

    private String closedby;

    private Date closeddate;

    private String isDeleted;

    private String finishedlist;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getExecution() {
        return execution;
    }

    public void setExecution(String execution) {
        this.execution = execution == null ? null : execution.trim();
    }

    public Integer getStory() {
        return story;
    }

    public void setStory(Integer story) {
        this.story = story;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName == null ? null : taskName.trim();
    }

    public Float getConsumed() {
        return consumed;
    }

    public void setConsumed(Float consumed) {
        this.consumed = consumed;
    }

    public Float getLefted() {
        return lefted;
    }

    public void setLefted(Float lefted) {
        this.lefted = lefted;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public String getSta() {
        return sta;
    }

    public void setSta(String sta) {
        this.sta = sta == null ? null : sta.trim();
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color == null ? null : color.trim();
    }

    public String getMailto() {
        return mailto;
    }

    public void setMailto(String mailto) {
        this.mailto = mailto == null ? null : mailto.trim();
    }

    public String getAssignedto() {
        return assignedto;
    }

    public void setAssignedto(String assignedto) {
        this.assignedto = assignedto == null ? null : assignedto.trim();
    }

    public Date getAssigneddate() {
        return assigneddate;
    }

    public void setAssigneddate(Date assigneddate) {
        this.assigneddate = assigneddate;
    }

    public String getFinishedby() {
        return finishedby;
    }

    public void setFinishedby(String finishedby) {
        this.finishedby = finishedby == null ? null : finishedby.trim();
    }

    public Date getFinisheddate() {
        return finisheddate;
    }

    public void setFinisheddate(Date finisheddate) {
        this.finisheddate = finisheddate;
    }

    public String getCanceledby() {
        return canceledby;
    }

    public void setCanceledby(String canceledby) {
        this.canceledby = canceledby == null ? null : canceledby.trim();
    }

    public Date getCanceleddate() {
        return canceleddate;
    }

    public void setCanceleddate(Date canceleddate) {
        this.canceleddate = canceleddate;
    }

    public String getClosedby() {
        return closedby;
    }

    public void setClosedby(String closedby) {
        this.closedby = closedby == null ? null : closedby.trim();
    }

    public Date getCloseddate() {
        return closeddate;
    }

    public void setCloseddate(Date closeddate) {
        this.closeddate = closeddate;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted == null ? null : isDeleted.trim();
    }

    public String getFinishedlist() {
        return finishedlist;
    }

    public void setFinishedlist(String finishedlist) {
        this.finishedlist = finishedlist == null ? null : finishedlist.trim();
    }
}